import React from 'react'
import './index.less'
import { Steps } from 'antd';
const { Step } = Steps;
export default class Step_demo extends React.Component{
    state={
        theme:'dark',
    }
    changeTheme(value){
        this.setState({theme:value?'dark':'light'})
    }
    render(){
        let {theme}=this.state
        return (
            <div className="Step_demo">
                <h1>steps步骤条</h1>
                <Steps current={1}>
                    <Step title="Finished" description="步骤1" />
                    <Step title="In Progress" subTitle="Left 00:00:08" description="步骤2" />
                    <Step title="Waiting" description="步骤3" />
                </Steps>
                <hr/>
            </div>
        )
    }
}